package com.project_doctor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project_doctor.pojo.Team;
import com.project_doctor.service.TeamService;
import com.project_doctor.mapper.TeamMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xixif
* @description 针对表【t_team(家庭医生团队表)】的数据库操作Service实现
* @createDate 2025-06-16 14:46:13
*/
@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team>
    implements TeamService{
    @Autowired
    private TeamMapper teamMapper;

    @Override
    public List<Team> getTeam() {
        return teamMapper.selectList(null);
    }
}




